package tank01;

/**
 * @Auther: xiaofei
 * @Date: 2021/7/1 - 07 - 01 - 10:38
 * @Description: tank01
 * @version: 1.0
 */
public class Main {
    public static void main(String[] args) throws  InterruptedException{
        TankFrame tf = new TankFrame();

        //初始化敌方坦克
        for (int i = 0; i < 5; i++) {
            tf.tanks.add(new Tank(0+i*100,200,Dir.DOWN,Group.BAD,tf));
        }

        while (true) {
            Thread.sleep(50);
            tf.repaint();
        }
    }
}
